package day4.作业1026.作业06;

public class Cjian {
    private String phoneNum;
    private String address;

    public Cjian() {
    }

    public Cjian(String phoneNum, String address) {
        this.phoneNum = phoneNum;
        this.address = address;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
    public void show(){
        System.out.println("电话："+phoneNum+"地址："+address);

    }
    public void jiache(Car c){
        c.qidong();
        c.qidong();
        c.shache();
        System.out.println("车辆启动加速刹车正常");
    }
}
